دریافت اطلاعات شاخص کل و مقایسه همبستگی شاخص کل با نماد شستا (مثال) در مثال این پست که بر اساس ماژول tsemodule5 نوشته شده است، اطلاعات شاخص و نماد شستا برای 50 روز اخیر دریافت و رسم می شود و همبستگی میان آنها نمایش داده می شود. import tsemodule5 as tm5 import matplotlib.pyplot as plt import pandas as pd plt.style.use("ggplot") tehranindex=tm5.index(value=50,progress=False) shasta = tm5.stock("شستا",value=50,progress=False,standard=True,newfile=True) df=pd.DataFrame({"tehranindex":tehranindex["Close"],"shasta":shasta["Close"]},index=tehranindex.index) df["tehranindex"].plot(figsize=(15,6),label="Tehran Index") df["shasta"].plot(secondary_y=True,label="Shasta Stock") print("Correlation is:",round(df.corr().iloc[0,1],2)*100,"%") plt.legend() plt.show()
دریافت اطلاعات شاخص کل و مقایسه همبستگی شاخص کل با نماد شستا (مثال) در مثال این پست که بر اساس ماژول tsemodule5 نوشته شده است، اطلاعات شاخص و نماد شستا برای 50 روز اخیر دریافت و رسم می شود و همبستگی میان آنها نمایش داده می شود. import tsemodule5 as tm5 import matplotlib.pyplot as plt import pandas as pd plt.style.use("ggplot") tehranindex=tm5.index(value=50,progress=False) shasta = tm5.stock("شستا",value=50,progress=False,standard=True,newfile=True) df=pd.DataFrame({"tehranindex":tehranindex["Close"],"shasta":shasta["Close"]},index=tehranindex.index) df["tehranindex"].plot(figsize=(15,6),label="Tehran Index") df["shasta"].plot(secondary_y=True,label="Shasta Stock") print("Correlation is:",round(df.corr().iloc[0,1],2)*100,"%") plt.legend() plt.show()
#tsemodule
BY پایتون به زبان ساده
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
For some time, Mr. Durov and a few dozen staffers had no fixed headquarters, but rather traveled the world, setting up shop in one city after another, he told the Journal in 2016. The company now has its operational base in Dubai, though it says it doesn’t keep servers there.Mr. Durov maintains a yearslong friendship from his VK days with actor and tech investor Jared Leto, with whom he shares an ascetic lifestyle that eschews meat and alcohol.
China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.